package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.FollowUser;
import com.tanhua.domain.mongo.Video;
import com.tanhua.domain.vo.PageResult;

/**
 * @Classname VideoApi
 * @Description TODO 小视频接口
 * @Date 2021/3/15 15:39
 * @Created by gan
 */
public interface VideoApi {
    //添加小视频
    void save(Video video);


    //小视频列表，分页查询
    PageResult findPage(Long page, Long pagesize);


    //关注视频，也就是关注作者
    void followUser(FollowUser followUser);

    //取消关注
    void unfollowUser(FollowUser followUser);
}
